<?php

class Order extends Model {

	protected $id;
	protected $orderId;
	protected $movieTitle;
	protected $idMember;
	protected $shipping;
	protected $price;
	protected $noCopies;
	protected $odate;
	protected $creditType;
	protected $creditNumber;
	
	function __construct($id, $orderId, $mId, $idMember, $shipping, $price, $noCopies, $odate) {
		$this->id = $id;
		$this->orderId = $orderId;
		$this->movieTitle = $mId;
		$this->idMember = $idMember;
		$this->shipping = $shipping;
		$this->price = $price;
		$this->noCopies = $noCopies;
		$this->odate = $odate;
	}
	
	function getId() {
		return $this->id;
	}
	
	function setId($id) {
		$this->id = $id;
	}
	
	function getOrderId() {
		return $this->orderId;
	}
	
	function setOrderId($id) {
		$this->orderId = $id;
	}
	
	function getMovieTitle() {
		return $this->movieTitle;
	}
	
	function setMovieTitle($id) {
		$this->movieTitle = $id;
	}
	
	function getIdMember() {
		return $this->idMember;
	}
	
	function setIdMember($id) {
		$this->idMember = $id;
	}
	
	function getShipping() {
		return $this->shipping;
	}
	
	function setShipping($s) {
		$this->shipping = $s;
	}
	
	function getPrice() {
		return $this->price;
	}
	
	function setPrice($p) {
		$this->price = $p;
	}
	
	function getNoCopies() {
		return $this->noCopies;
	}
	
	function setNoCopies($n) {
		$this->noCopies = $n;
	}
	
	function getOdate() {
		return $this->odate;
	}
	
	function setOdate($o) {
		$this->odate = $o;
	}
	
	function getCreditType() {
		return $this->creditType;
	}
	
	function setCreditType($t) {
		$this->creditType = $t;
	}
	
	function getCreditNumber() {
		return $this->creditNumber;
	}
	
	function setCreditNumber($t) {
		$this->creditNumber = $t;
	}
}